package com.example._06springaop.aop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCalculator {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext( "com.example._06springaop");
        CalculatorImp calculatorImp =   context.getBean(CalculatorImp.class);
        calculatorImp.add(78,2343);
    }
}
